@import './modules/reset.scss';
@import './modules/header.scss';
@import './modules/footer.scss';

.main-c{
    width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}
.info{
    font-size: 14px;
    color: #666;
    margin-top: 20px;
    margin-bottom: 25px;
    a{
        &:hover{
            color: #ff2f2f;
            cursor: pointer;
        }
    }
}
.wrap{
    height: 600px;
    .pic{
        height: 586px;
        width: 470px;
        float: left;
        >img{
            width: 468px;
            height: 468px;
            border: 1px solid #dcdcdc;
            
        }
        .small{
            height: 100px;
            width: 470px;
            margin-top: 15px;
            display: flex;
            justify-content: space-between;
            ul{
                width: 100%;
                display: flex;
                justify-content: space-between;
                a{
                    display: block;
                    width: 100px;
                    height: 100px;
                    img{
                        width: 100px;
                        height: 100px;
                        box-sizing: border-box;
                        &:hover{
                            border: 1px solid #333;
                        }
                    }
                }
            }
            .zoomGalleryActive{
                border: 2px solid #ff2f2f;
            }

            
            
        }

    }
    
    .detail{
        width: 670px;
        height: 586px;
        float: right;
         overflow: hidden;
         h3{
            height: 30px;
            overflow: hidden;
            font-size: 24px;
            font-weight: 700;
            color: #333;
         }
         .detail-title {
            height: 80px;
            line-height: 80px;
            border-bottom:1px solid #dcdcdc; 
            span:nth-child(1){
                font-size: 30px;
                font-weight: 700;
                color: #b84339;
                margin-right: 50px;
            }
            span:nth-child(2){
                font-size: 14px;
                color: #333;
                text-decoration: line-through;
                margin-right:15px;
            }
            span:nth-child(3){
                font-size: 12px;
                color: #fff;
                background-color: #cd823f;
                padding: 1px 5px;
                border-radius: 3px;
                margin-right: 50px;
            }
            span:nth-child(4){
                font-size: 14px;
                color: #333;
                margin-right: 20px;
            }
            span:nth-child(5){
                font-size: 14px;
                color: #333;
                margin-right: 40px;
            }
            span:nth-child(6){
                font-size: 14px;
                color: #333;
               
            }
         }
        .shop-param{
            padding: 10px 10px 0 0;
            height: 62px;
            border-bottom:1px solid #dcdcdc; 
            font-size: 14px;
            color: #333;
            p:nth-child(1){
                float: left;
                span{
                    display: inline-block;
                    margin-bottom: 15px;
                }
            }
            p:nth-child(2){
                float: right;
                span{
                    display: inline-block;
                    margin-bottom: 15px;
                }
            }
         }
         .about{
             height:44px ;
             padding: 10px 0;
             border-bottom:2px dotted #dcdcdc; 
             p{
                 line-height: 44px;
                 span:nth-child(1){
                    font-size: 16px;
                    font-weight: 700;
                    color: #333;
                    margin-right: 10px;
                    
                 }
                 span:nth-child(2){
                    padding: 0 8px;
                    border: 1px solid #d2d2d2;
                    border-radius: 3px;
                    color: #777;
                    margin-right: 5px;
                    cursor: pointer;
                    font-size: 14px;
                    &:hover{
                        border: 1px solid #ff2f2f;
                        color: #ff2f2f;
                    }
                 }
                 span:nth-child(3){
                    padding: 0 8px;
                    border: 1px solid #d2d2d2;
                    border-radius: 3px;
                    color: #777;
                    margin-right: 5px;
                    cursor: pointer;
                    font-size: 14px;
                    &:hover{
                        border: 1px solid #ff2f2f;
                        color: #ff2f2f;
                    }
                 }
                 span:nth-child(4){
                    padding: 0 8px;
                    border: 1px solid #d2d2d2;
                    border-radius: 3px;
                    color: #777;
                    margin-right: 5px;
                    cursor: pointer;
                    font-size: 14px;
                    &:hover{
                        border: 1px solid #ff2f2f;
                        color: #ff2f2f;
                    }
                 }
                 span:nth-child(5){
                    padding: 0 8px;
                    border: 1px solid #d2d2d2;
                    border-radius: 3px;
                    color: #777;
                    margin-right: 5px;
                    cursor: pointer;
                    font-size: 14px;
                    &:hover{
                        border: 1px solid #ff2f2f;
                        color: #ff2f2f;
                    }
                 }
             }
         }
    }
}
.num{
    font-size: 20px;
    font-weight: 900;
    margin-top: 20px;
    .reduce{
        margin-left: 20px;
        padding:5px 15px;
        border: 1px solid #d2d2d2;
        cursor: pointer;
        background-color: #e1e1e1;
        &:hover{
            color: #ff2f2f;
        }
    }
    .add{
        padding:5px 13px;
        border: 1px solid #d2d2d2;
        cursor: pointer;
        background-color: #e1e1e1;
        &:hover{
            color: #ff2f2f;
        }
    }
    input{
        box-sizing: border-box;
        width: 80px;
        height: 37px;
        border: 1px solid #d2d2d2;
        text-align: center;
        padding-top:5px ;
      
    }
}
.shop-but{
    margin-top: 40px;
    position: relative;
    a{
        display: block;
        width: 197px;
        height: 45px;
        float: left;
        margin-right: 25px;
        border: 1px solid #333;
        text-align: center;
        line-height: 45px;
        font-size: 18px;
        font-weight:500;
    }
    a:nth-child(2){
        &:hover{
            background-color: #dcdcdc;
        }
    }
    a:nth-child(3){
        &:hover{
            background-color: #dcdcdc;
        }
    }
    a:nth-child(1){
        color: #fff;
        background:#ff2f2f;
        border: none;
        &:hover{
            background: rgba(255,47,47,0.6);
           
        }
    }
}
.service{
    padding: 20px 30px;
    margin-top: 78px;
    border: 1px solid #dcdcdc;
    height: 71px;
    width: 608px;
    float: left;
    font-size: 14px;
    &-left{
        float: left;
        width: 460px;
        color: #999;
        line-height: 25px;
        div{
            color: #666;
            b{
                color: #333;
                margin: 0 10px;
            }
        }
    }
    &-right{
        float: right;
        line-height: 50px;
        text-align: center;
        font-size: 18px;
        color: #333;
    }
}
.moreImg{
    margin-bottom:40px;
    margin-top: 50px;
    // overflow: hidden;
    img{
        width: 1000px;
        display: block;
        // height: auto;
    }
}
    
.flybox{
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: red;
    position: fixed;
}
.big-shopcar{
    position: fixed;
    top: 300px;
    right: 10px;
    cursor: pointer;
    .car-pic{
        img{
            width:50px;
            height:50px;
            
        }
        span{
            position: absolute;
            top: 8px;
            right: 37px;
            width: 20px;
            height:20px;
            border-radius: 50%;
            text-align: center;
            line-height: 20px;
            background: red;
            margin-left: -10px;
            margin-bottom:10px ;
            font-size: 12px;
            color: #fff;
        }
      
    }
}
.to-top{
    display: none;
    position: fixed;
    bottom: 50px;
    right: 10px;
    cursor: pointer;
}